/*******************************************************************************
 * Copyright (c) Jerges A. Bello G. 2014. Reservado todos los derechos.
 ******************************************************************************/
package com.jabex.persistence.model;


import java.io.Serializable;

import javax.persistence.*;

/**
 * Created with IntelliJ IDEA.
 * User: Jerges Bello
 * Date: 5/11/13
 * Time: 23:04
 * To change this template use File | Settings | File Templates.
 */
@MappedSuperclass
public class Identity implements Serializable {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "ID", unique = true, nullable = false)
    private Long id;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
}
